#define _CRT_SECURE_NO_WARNINGS 1
#include <iostream>
using namespace std;

#include <string>
#include "string.h"

int main()
{
	//jw::test_string10();

	//string s1("hello cplusplus");
	//cout << s1.size() << endl;
	//s1.resize(s1.size() + 10, 'x');
	//cout << s1 << endl;
	//s1.resize(s1.size() - 10);
	//cout << s1 << endl;

	//char str[] = "hello cplusplus";
	//char str1[20] = "xxxxxxxxxxxxxxxxxxx";
	//cout << str << endl;
	//cout << str1 << endl;
	//strcpy(str1, str);
	//cout << str << endl;
	//cout << str1 << endl;

	//int a = 10;
	//a--;
	//cout << a << endl;

	//string s1("hello world");
	//s1.erase(11, string::npos);
	//cout << s1 << endl;

	//string s1("hello world");
	//cout << s1.c_str() << endl;

	//string s2("hello cpp");
	//cout << s2.c_str() << endl;

	//std::swap(s1, s2);
	//cout << s1.c_str() << endl;
	//cout << s2.c_str() << endl;

	//char* s1 = new char[20];

	int a = 1;
	printf("%d", ++a);
	printf("%d", a++);

	return 0;
}